home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr26
/
blrmu13.zip
/
WHTBLK.ASM
< prev
next >
Wrap
Assembly Source File
|
1993-06-01
|
2KB
|
65 lines
page ,132
title whtblk ( white bak, brdr - blk crsr ) 04/13/91 - 12:00 pm
;
code segment para public 'code'
;
org 256
;
assume cs:code
;
whtblk proc far
;
;*------------------------
;* set border color
;*------------------------
sbc:
mov ah,11 ; set color palette fct
mov bh,0 ; text mode
mov bl,7 ; border = white
int 16
;*------------------------
;* set cursor position
;*------------------------
scp:
mov ah,2 ; set cursor position fct
mov bh,0 ; page number 0
mov dh,0 ; row 0
mov dl,0 ; col 0
int 16
;*---------------------------------
;* write character and attribute
;*---------------------------------
wcaa:
mov ah,9 ; write char and attr fct
mov al,32 ; char = space
mov bh,0 ; page number 0
mov bl,112 ; x'70' ; attr = white back, black cursor
mov cx,2000 ; 25 * 80 = full screen
int 16
;
exit: mov al,0 ; return code = 0
mov ah,76 ; terminate with ret code fct
int 33
;
whtblk endp
;
code ends
;
end whtblk
;
;---------------------------------------
; Color Chart
;---------------------------------------
;
; Black = 00 Light Black = 08
; Blue = 01 Light Blue = 09
; Green = 02 Light Green = 10
; Cyan = 03 Light Cyan = 11
; Red = 04 Light Red = 12
; Magenta = 05 Light Magenta = 13
; Brown = 06 Light Brown = 14 ( Yellow )
; White = 07 Light White = 15
;
;----------------------------------------
;